package com.citydo.webrtcspringboot.entity;

import lombok.Data;

@Data
public class Message {
    public static final String TYPE_COMMAND_CONNECT = "connect";
    public static final String TYPE_COMMAND_DISCONNECT = "disconnect";
    public static final String TYPE_COMMAND_OFFER = "offer";
    public static final String TYPE_COMMAND_ANSWER = "answer";
    public static final String TYPE_COMMAND_CANDIDATE = "candidate";
    public static final String TYPE_COMMAND_VALIDATION = "validation";

    private String type;
    private String from;
    private String data;
    private String connectionId;
    private String token;

}
